export const loadPermissionList = function() {
  // permissionList
  return new Promise(resolve => {
    const data = [
      { label: '新增', value: 'add', defaultChecked: false },
      { label: '查询', value: 'select', defaultChecked: false },
      { label: '修改', value: 'update', defaultChecked: false },
      { label: '删除', value: 'delete', defaultChecked: false },
      { label: '导入', value: 'import', defaultChecked: false },
      { label: '导出', value: 'export', defaultChecked: false }
    ]
    setTimeout(resolve(data), 1500)
  }).then(res => {
    this.permissionList = res
  })
}
export const STATUS_MAP = {
  '正常': '#108ee9',
  '锁定': '#f50',
  '禁用': '#808080'
}
